Fix #457642, reported by Christian Persch.
authorKristian Rietveld <kris@imendio.com>
Tue, 21 Aug 2007 10:52:43 +0000 (10:52 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Tue, 21 Aug 2007 10:52:43 +0000 (10:52 +0000)
commitf6235caef968e92d698468d77a4e93f33a63855a
tree32f5628bc34880bf3034b29772f0bd86db10cd0e
parentcefd6732fc3e786786d4ac7363e5bb79c3edf68d
Fix #457642, reported by Christian Persch.

2007-08-21  Kristian Rietveld  <kris@imendio.com>

Fix #457642, reported by Christian Persch.

* gtk/gtktooltip.c: added debugging output which can be compiled
in with a #define, annotated all coordinate translations in the
source code,
(find_widget_under_pointer): remove the "no-window correction";
always convert the coordinates from window relative to allocation
relative; after recursing through a container, translate the
coordinates from container allocation relative to child widget
allocation relative;
(find_topmost_widget_from_event): now we get allocation relative
coordinates here we do not have to distinguish no-window and window
widgets.

svn path=/trunk/; revision=18663
ChangeLog
gtk/gtktooltip.c